gnttab: use DIV_ROUND_UP() instead of open-coding it
authorJan Beulich <jbeulich@suse.com>
Wed, 16 Aug 2017 09:02:48 +0000 (11:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 16 Aug 2017 09:02:48 +0000 (11:02 +0200)
commitc98e9ec647df00a5726e00c93bd69a4d5a2d88e7
tree2519838b7ac4e9a73f1c946df20876b52158091d
parent5a4e6ee31c67822dc4681b12d2ce941ca68f4deb
gnttab: use DIV_ROUND_UP() instead of open-coding it

Also adjust formatting of nearby code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/grant_table.c